package com.hzf.workman.dao.mapper;

import com.hzf.workman.dao.model.WorkmanManinfo;
import com.hzf.workman.dao.model.WorkmanManinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WorkmanManinfoMapper {
    long countByExample(WorkmanManinfoExample example);

    int deleteByExample(WorkmanManinfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WorkmanManinfo record);

    int insertSelective(WorkmanManinfo record);

    List<WorkmanManinfo> selectByExample(WorkmanManinfoExample example);

    WorkmanManinfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WorkmanManinfo record, @Param("example") WorkmanManinfoExample example);

    int updateByExample(@Param("record") WorkmanManinfo record, @Param("example") WorkmanManinfoExample example);

    int updateByPrimaryKeySelective(WorkmanManinfo record);

    int updateByPrimaryKey(WorkmanManinfo record);
    List<WorkmanManinfo> selectByPrimaryWorkmanManinfo(@Param("regionNumber")int regionNumber, @Param("status")int status,
                                                       @Param("min0")long min0, @Param("max0")long max0,
                                                       @Param("min1")long min1, @Param("max1")long max1,
                                                       @Param("min2")long min2, @Param("max2")long max2,
                                                       @Param("min3")long min3, @Param("max3")long max3,
                                                       @Param("min4")long min4, @Param("max4")long max4,
                                                       @Param("min5")long min5, @Param("max5")long max5,
                                                       @Param("min6")long min6, @Param("max6")long max6,
                                                       @Param("min7")long min7, @Param("max7")long max7,
                                                       @Param("min8")long min8, @Param("max8")long max8);
}